//
//  BaseViewController.h
//  bus
//
//  Created by ygs on 15/6/6.
//  Copyright (c) 2015年 ygs. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface BaseViewController : UIViewController
@property (strong, nonatomic) UIView *navBar;
@property (strong, nonatomic) UIButton *backHome;
@property (strong, nonatomic) UILabel *titleLable;
@property (strong, nonatomic) UIButton *backBtn;
//@property (strong, nonatomic) UIViewController *baseTabVC;//


/**左侧带有返回按钮*/
-(void)initNav:(NSString*)title doBack:(BOOL)doBack;
- (void)initNav:(NSString *)title doModel:(BOOL)doModel;
/** 返回上一级*/
- (void)initNavBarBackBtn;
/** 返回分目录*/
- (void)initNavBarBackHome;
/** 跳转登陆界面*/
- (void)goLoginView;

- (void)popToRootViewController;
- (void)pushViewController:(UIViewController *)viewController;
- (void)popViewController;
@end
